﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BusinessLayer;

namespace Project03.Controllers
{
    public class AccountController : Controller
    {
 
        public ActionResult Index()
        {
            AccountBusinessLayer accountBusinessLayer = new AccountBusinessLayer();
            List<Account> accounts = accountBusinessLayer.Accounts.ToList();
            return View(accounts);
        }

    }
}
